    package org.fly.dao;

    import org.fly.bean.CustomerLevel;
    import org.fly.bean.query.CustomerLevelQuery;
    import org.apache.ibatis.annotations.Param;
    import org.springframework.stereotype.Repository;

    import java.util.List;

    /**
    * Created by autoCode on 2018-01-31 20:25:40.
    */
    @Repository
    public interface CustomerLevelDao {

    List<CustomerLevel> list(CustomerLevelQuery query);

    long count(CustomerLevelQuery query);

    void  insert(CustomerLevel data);

    void update(CustomerLevel data);

    CustomerLevel findById(String id);

    void delete(String id);

    List<CustomerLevel> listByIds(@Param(value = "ids") List<String> ids);

    void updateDefaultFalse(String supplierId);


}
